hi jkmyoung,
Thanks for your reply.
I read the article you referred me to. I understand that the document() Function needs a XML file to be present on the Disk. I am pulling out the XML files from the database I use the 'XPathDocument' which provides a fast, forward-only,
in-memory representation of the XML document.
How do I work around this?? I mean I can't and I don't want to save the pulled up XML files to the disk. I other words I want them to be present in the memory and still be accessible to the XSLT style sheet.
Also note that the first file is not valid xml, as it has more than one root. Create a container element surrounding the 2 values.
Couldn't understand that though. I use it and it works fine in the VS2005. If you think its wrong please let me know what the correct form should look like.
If you are talknig about the Values.xml above. have just typed it in short. The actual file is much bigger.
Values.xml
- <?xml version="1.0" encoding="utf-8"?>
-
<Values>
-
<Value>Some text</Value>
-
<Value>Some text2</Value>
-
</Values>
Could you explain more as to how the values and template mesh together? Do you replace each <td/> with a value?
I have typed <td/> as it is a empty element. Actually it is <td></td> and I want the value between the <value></value> tags to be placed in between the <td></td> tags. Some thing like this.
<td></td> + <value>Sone text</value> = <td>Some text</td>
Hope you understand.
Thanks again.