我想创建一个xslt我的xml标记由链接,图像和文本组成。我尝试过但我无法创建它。你们能告诉我我做错了什么吗?xslt创建XML标记通过属性errot
这是我的xml和xslt在小提琴:http://jsfiddle.net/N8MnE/2/。
当我this tool运行它,我收到以下错误:
XSLT Error: The markup in the document preceding the root element must be well-formed.
这里是我的代码:
<xsl:attribute name="src">
<xsl:value-of select="ImageBlock/Image " /></xsl:attribute>
感谢您的回复...再次我更正了报价,并在此工具http://xslttest.appspot.com/中运行,但我收到此错误错误:无法编译样式表。检测到2个错误。 http://jsfiddle.net/jBAz5/ – user3102494
这是一个有用的网站为你(http://xsltransform.net/) –
@ JoelM.Lamsen:谢谢你的回复...我的工具帮了我很多.. – user3102494