Search found 12 matches

by Marzipan
Wed Mar 28, 2012 6:54 pm
Forum: Other Issues
Topic: Mixed Content on Complex Types
Replies: 1
Views: 684

Mixed Content on Complex Types

Can XSD be generated that Does not generate Mixed Content on Complex Types (i.e. is there a setting/config). I need to create XSD Schemas that conform to the limits of the SSIS ( Microsoft Sql Server Intergration Services) XML Source component. It does not support Mixed Content on Complex Types.
by Marzipan
Fri Mar 23, 2012 5:42 pm
Forum: XSLT and FOP
Topic: XSLT to "Escape Selection"
Replies: 0
Views: 1219

XSLT to "Escape Selection"

I can select a node of a XML document in Oxygen editor, right click and choose Source|Escape Selection. What is the XSLT equivelant. Is there a way to record your actions in the editor and have it display as XSLT?
by Marzipan
Tue Mar 20, 2012 4:20 pm
Forum: XSLT and FOP
Topic: Remove HTML Tags
Replies: 0
Views: 1805

Remove HTML Tags

Would like assistance in modifying existing XSLT to call the template "RemoveHtmlTags", Here is the existing xsl file: <?xml version="1.0" encoding="utf-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output...
by Marzipan
Fri Mar 16, 2012 4:42 pm
Forum: XSLT and FOP
Topic: Change HTML tags to string
Replies: 5
Views: 2356

Re: Change HTML tags to string

Found this and added to .xsl; not sure how to call it? <xsl:template name="removeHtmlTags"> <xsl:param name="html"/> <xsl:choose> <xsl:when test="contains($html, '&lt;')"> <xsl:value-of select="substring-before($html, '&lt;')"/> <!-- Recurse through HT...
by Marzipan
Fri Mar 16, 2012 2:47 pm
Forum: XSLT and FOP
Topic: Remove group levels
Replies: 3
Views: 1188

Re: Remove group levels

Great. I went with contains(). FYI: Got error with ends-with()

Engine name: Saxon6.5.5
Severity: warning
Description: Error in expression *[ends-with(name(), 'Group')]: Unknown system function: ends-with
by Marzipan
Wed Mar 14, 2012 6:01 pm
Forum: XSLT and FOP
Topic: Change HTML tags to string
Replies: 5
Views: 2356

Re: Change HTML tags to string

Is there a way to do this in a xslt only for all <html></html>
by Marzipan
Wed Mar 14, 2012 5:21 pm
Forum: XSLT and FOP
Topic: Remove group levels
Replies: 3
Views: 1188

Remove group levels

I have XML that contains elements that contain other elements but not values, they all have 'Group' in the element name. Is it possible to remove the tags that contain 'Group'; found the function syntax: not(contains(name(),'Group') - i'm not sure where it would go? <my:BestPracticeGroup> <my:BPRepe...
by Marzipan
Wed Mar 14, 2012 5:05 pm
Forum: XSLT and FOP
Topic: Change HTML tags to string
Replies: 5
Views: 2356

Re: Change HTML tags to string

No I want the entire HTML tag as the value. Not sure if I should append single or escaped quotes? How to encapsulate?
by Marzipan
Wed Mar 14, 2012 4:02 pm
Forum: XSLT and FOP
Topic: Add pipe character and eliminate white space
Replies: 2
Views: 2013

Re: Add pipe character and eliminate white space

Found the whitespace solution, added below to xsl. Still not sure why pipe character is not appending?

<xsl:template match="text()">
<xsl:value-of select="normalize-space(.)"/>
</xsl:template>
by Marzipan
Wed Mar 14, 2012 3:36 pm
Forum: XSLT and FOP
Topic: Change HTML tags to string
Replies: 5
Views: 2356

Change HTML tags to string

<html xmlns="http://www.w3.org/1999/xhtml" xml:space="preserve"><div><font color="#ff0000">CRITICAL CARE:</font> Audit central line insertion checklists for completion: twice weekly for each patient present in the unit with a CL for a total of 4 weeks. </div></html> in ...
by Marzipan
Tue Mar 13, 2012 11:46 pm
Forum: XSLT and FOP
Topic: Add pipe character and eliminate white space
Replies: 2
Views: 2013

Add pipe character and eliminate white space

Two questions. How to get "pipe" inbetween value? How to get rid of whitespace > 1 space? <?xml version="1.0" encoding="UTF-8"?><?mso-infoPathSolution solutionVersion="1.0.0.8" productVersion="12.0.0" PIVersion="1.0.0.0" href="file:///...
by Marzipan
Fri Mar 02, 2012 12:14 am
Forum: XSLT and FOP
Topic: XML to text
Replies: 2
Views: 1077

XML to text

I'd like to transform a existing XML document to a comma delimited by creating a XSLT. Is there a simple step by step documentation?

Go to advanced search