CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2000
    Posts
    1,471

    Regarding { } in XSL

    For example, if we want to display an image, we might write the following,

    <img src="{source}" />

    I wander what the meaning of {} is here? Thanks for your inputs.

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: Regarding { } in XSL

    It seems like it is part of a template system. It would read the XML file and insert the image source into the bracketed area.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  3. #3
    Join Date
    Oct 2004
    Posts
    107

    Re: Regarding { } in XSL

    The braces tell the processor to regard what's inside the braces as an xpath to be evaluated, as opposed to string text.

  4. #4
    Join Date
    Aug 2000
    Posts
    1,471

    Re: Regarding { } in XSL

    I think you got the correct answer. Thanks for your response!
    Quote Originally Posted by jkmyoung
    The braces tell the processor to regard what's inside the braces as an xpath to be evaluated, as opposed to string text.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured