Convert XHTML to Word ML
What is the best way to convert word HTML to word XML? I cannot buy a tool so need something preferably XSLT which is free and works suitably with basic formatting like paragraphs, lists, bold and italic. ...
What is the best way to convert word HTML to word XML? I cannot buy a tool so need something preferably XSLT which is free and works suitably with basic formatting like paragraphs, lists, bold and italic. ...
As a huge XSL fan, I am very happy to use xsl as the view in our proprietary MVC framework on ASP.NET. Objects in the model are serialized under the hood using .NET's xml serializer, and we use quite atomic xsl templates to declare how each object or property should transform. For example: <xsl:template match="/Article"> <html> ...
What kind of scenarios can XSL processing instructions be used or applied? When is it good or bad to use them? Clean slate here, I don't have a good handle on this particular element. Example from w3schools: <xsl:processing-instruction name="process-name"> <!-- Content:template --> </xsl:processing-instruction> ...
If I send this request to a page: http://www.server.com/show.xml?color=red&number=two Can I do something like this?: I like the color <xsl:url-param name="color" /> and the number <xsl:url-param name="number" />. If you need clarification of the question, lemme know Thanks for any answers, Chrelad ...
Hi. I'm trying to build a multi-level dropdrown CSS menu for a website I'm doing on the umbraco content management system. I need to build it to have the following structure: <ul id="nav"> <li><a href="..">Page #1</a></li> <li> <a href="..">Page #2</a> <ul> <li><a href="..">Subpage #1</a></li> <li><a href="..">...
I do a lot of XSLT programming. I also do Java, PL/SQL, JavaScript, and a few others. I can easily find communities of Java and JavaScript programmers via the web. PL/SQL is a little more difficult, but between OTN and AskTom, I do pretty well. But XSLT seems to be neglected to me. Where do you go for XSLT? I know about W3Schools, ...
I know how to find what I need from XML using XPath. The syntax takes a little getting used to, but it is quite powerful. I'm interested in learning XQuery also, but the SQL like syntax seems awkward. Even so, if it can provide not just a select equivalent, but also update, insert, and delete as SQL does, I will forgive all awkwardnes...
I'm designing a system which is receiving data from a number of partners in the form of CSV files. The files may differ in the number and ordering of columns. For the most part, I will want to choose a subset of the columns, maybe reorder them, and hand them off to a parser. I would obviously prefer to be able to transform the incoming d...
Hi, i have some big xslt crashing iis (StackOverflowException) when loading an XslCompiledTransform while the old (deprecated) XslTransform works fine. Is there some known issue with big templates? Strangely enough, the same XslCompiledTransform loads successfully in a win32 application. ...
How can I retrieve the position of the current Para? <xsl:template match="Para"> <xsl:variable name="PositionInDocument" select="What do I do here?" /> </xsl:template> This is the xml document: <QuestionStem>Question </QuestionStem> <Para>This is my paragraph question.</Para> <Para>Thisis another para for question.</Para> <AnswerLis...
I need to select the position of a following sibling via XSL. This is not working: <xsl:variable name="nextAnswerListItemPos" select="following-sibling::*[local-name() = 'AnswerListItem'][position()]" /> ...
Each of these variables has an integer value. But this syntax is not valid for some reason: <xsl:when test="$nextAnswerListItemPos < $nextQuestionStemPos" > ...
When I try to use the code below I get a duplicate variable error because variables are immutable. How do I set the smaller of the two variables ($nextSubPartPos,$nextQuestionStemPos) as my new variable ($nextQuestionPos)? <xsl:variable name="nextQuestionPos"/> <xsl:choose> <xsl:when test="$nextSubPartPos < $nextQuestionStem...
Is this right for When 4 < 5 and 1 < 2 ? <xsl:when test="4 < 5 AND 1 < 2" > <!-- do something --> </xsl:when> ...
I tried this but it does not seem to be valid syntax. <xsl:element name="$myElementName"></xsl:element> ...
I have an XML definition that contains an element with child elements. For example: <a> <b> <c>C</c> <d>D</d> </b> </a> I have an XSLT with an output of text. For example: <xsl...> <xsl:output method="text" indent="yes"/> <xsl:template match="/"> <xsl:copy-of select="/a/b" /> ... I want to copy the entire b element ...
hi! i'm generating controls dynamically on my asp.net page by xslt transformation from an xml file. i will need to reference these controls from code behind later. i would like to add these references to the list/hashtable/whatever during creation (in xslt file i suppose) so that i could reach them later and i have no idea how to do this...
Hi, i have a rss source: http://feedity.com/rss.aspx/mr1-kossuth-hu/VVdXUlY <item> <title>2008. november 23.</title> <link>http://www.mr1-kossuth.hu/m3u/0039c36f_3003051.m3u</link> <description>........</description> <pubDate>Wed, 26 Nov 2008 00:00:00 GMT</pubDate> </item> from this, i want to creat...
I have a lot of XML files which have something of the form: ...
Short version: Could anyone suggest or provide a sample in LINQ to XML for VB, or in an XSLT of how to change one XML element into another (without hardcoding an element-by-element copy of all the unchanged elements)? Background: I have an XML file, that I think is properly formed, that contains a root entry that is <collection> and ...