System.Xml.XmlException: '=' is an unexpected token. The expected token is ';'. Line 30, position 92. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) at System.Xml.XmlTextReaderImpl.ThrowUnexpectedToken(String expectedToken1, String expectedToken2) at System.Xml.XmlTextReaderImpl.ThrowUnexpectedToken(Int32 pos, String expectedToken1, String expectedToken2) at System.Xml.XmlTextReaderImpl.HandleEntityReference(Boolean isInAttributeValue, EntityExpandType expandType, Int32& charRefEndPos) at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars) at System.Xml.XmlTextReaderImpl.FinishPartialValue() at System.Xml.XmlTextReaderImpl.get_Value() at System.Xml.Xsl.Xslt.XsltInput.ReadTextNodes() at System.Xml.Xsl.Xslt.XsltInput.ReadNextSibling() at System.Xml.Xsl.Xslt.XsltInput.MoveToFirstChild() at System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(List`1 content, InstructionFlags flags) at System.Xml.Xsl.Xslt.XsltLoader.LoadLiteralResultElement(Boolean asStylesheet) at System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(List`1 content, InstructionFlags flags) at System.Xml.Xsl.Xslt.XsltLoader.LoadLiteralResultElement(Boolean asStylesheet) at System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(List`1 content, InstructionFlags flags) at System.Xml.Xsl.Xslt.XsltLoader.LoadLiteralResultElement(Boolean asStylesheet) at System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(List`1 content, InstructionFlags flags) at System.Xml.Xsl.Xslt.XsltLoader.LoadLiteralResultElement(Boolean asStylesheet) at System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(List`1 content, InstructionFlags flags) at System.Xml.Xsl.Xslt.XsltLoader.LoadTemplate(NsDecl stylesheetNsList) at System.Xml.Xsl.Xslt.XsltLoader.LoadRealStylesheet() at System.Xml.Xsl.Xslt.XsltLoader.LoadDocument() at System.Xml.Xsl.Xslt.XsltLoader.LoadStylesheet(XmlReader reader, Boolean include)
Iam not the bigest shark to Xslt yet
Best regards
Michael
Ps sorry for my bad english writning
iam running version Umbraco v6.1.2 (Assembly version: 1.0.4927.23554) Hostede on a Surftown server IIS 7.0 whit fullthrust .Net 4.0 on a CE database.
1. Content between the script tags (when applying in-file JS) has to be within <![CDATA[]]>. This doesn't apply to attributes as src="" etc.
2. avoid script tags selfclosing <script />, witch is the native thing for XSLT to do, the "descriptive comment" (//tsviewer) could be applied, another solution could very well be to throw an <xsl:comment></xsl:comment> tag in between the empty scirpt tags.
sorry to say but this whit XSLT trowes me warry off and i belive it will take me a warry long time to get it in..
I cant se to get the grasp op it and getting this macro to word i think i just have to make this one work as a stastic one on til i have better time. tryed to make the last chance you wrot but still no webpost
I thanks you a lot to tryning to get me to get it right.
Trubbel getting my teamspeak webpost script to run in macro
Hey,
iam truning til get a blon on my guild website to show who is online on the teamspeak server.
i ned this to be loadet ind the macro.
That is the code i godt from the webpost provider.
i have tryed this
but i get this error.
Iam not the bigest shark to Xslt yet
Best regards
Michael
Ps sorry for my bad english writning
iam running version Umbraco v6.1.2 (Assembly version: 1.0.4927.23554) Hostede on a Surftown server IIS 7.0 whit fullthrust .Net 4.0 on a CE database.
the site is @ this local http://wiyd.mj-solutions.dk
Hey,
Whenever using <script></script> you need to put content of the script tags into <![CDATA[ script content ]]>.
Hey Mads,
i cant se to get it to work. i made a statik version of wath i has to be like and a macro like the one poste on the right side by i dos not work
this is the macro as it is nowe
Hi there Michael,
Your issue now is right here:
Should be:
<script src="http://static.tsviewer.comYshort_expire/js/ts3viewer_loader.js">//tsviewer</script>
Two rules applies to scripts i XSLT:
1. Content between the script tags (when applying in-file JS) has to be within <![CDATA[]]>. This doesn't apply to attributes as src="" etc.
2. avoid script tags selfclosing <script />, witch is the native thing for XSLT to do, the "descriptive comment" (//tsviewer) could be applied, another solution could very well be to throw an <xsl:comment></xsl:comment> tag in between the empty scirpt tags.
Really hope this clarifies things a bit :-)
Hey Mads,
sorry to say but this whit XSLT trowes me warry off and i belive it will take me a warry long time to get it in..
I cant se to get the grasp op it and getting this macro to word i think i just have to make this one work as a stastic one on til i have better time.
tryed to make the last chance you wrot but still no webpost
I thanks you a lot to tryning to get me to get it right.
Michael
is working on a reply...