July 19th, 2011, 05:20 PM
Newbie xml/xsl question
i have this xml file, and i am pulling certain information out of it via an xsl file, like this.
and it transforms the information just like i want but i cant figure out how to wrap ItemKey and Name/English ( all the node's ) in '' like this 'Name/English' for the transformed text.
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text" encoding="utf-8"/>
<xsl:param name="sep" select="'&&#35;09;' " />
<xsl:param name="eol" select="'&&#35;10;' " />
and about 30 more lines
how would i go about this?
and thanks in-advance for any help on this question.
Last edited by requinix; July 19th, 2011 at 05:35 PM.
July 19th, 2011, 05:40 PM
(I "fixed" the XSLT. The problem is the forum software, and the trick to get entities to display properly is so confusing I don't know if I can explain it well enough; Edit or Reply to the post to see what I mean.)
All you need is to add quotes? How about
<xsl:value-of select="ItemKey" />
Last edited by requinix; July 19th, 2011 at 05:42 PM.
July 19th, 2011, 06:08 PM
thank you for the fast reply back to this question.