CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: jkmyoung

Page 1 of 5 1 2 3 4

Search: Search took 0.08 seconds.

  1. Replies
    3
    Views
    4,631

    Re: Creating RSS via XSL?

    Upon trying with a simple mechanism, perhaps not; XSLT transformations are implicitly cast to html. Have also tried to create a page which runs the transformation, but the output is still only...
  2. Replies
    3
    Views
    4,631

    Re: Creating RSS via XSL?

    Sure, just have something like
    <xsl:apply-templates select="item[position() &lt;= 10]"/>

    I'm assuming somewhere in the header of the RSS you have a preprocessing directive like:
    <?xml-stylesheet...
  3. Thread: dom parser

    by jkmyoung
    Replies
    1
    Views
    1,640

    Re: dom parser

    C and not C# or C++?

    Libxml2
    http://xmlsoft.org/

    but this is incomplete. It depends on what type of processing you're planning on doing with DOM.
  4. Replies
    1
    Views
    1,079

    Re: Please help me on XML transforms

    You will have to get that information from your client. It seems client/product specific.
  5. Re: How to apply template for the first w:p in w:tbl?

    This depends on how you have set your templates up.

    Without any further knowledge of your code:


    <xsl:template match="w:p">

    In your
    <xsl:template match="w:tbl">
    have
  6. Replies
    3
    Views
    5,706

    Re: Need help with XSLT - grouping tags

    How are you determining which tags link up to each other? Is it like a 2 column thing, where all of 1 value appears first, then all of the 2nd value?
  7. Replies
    3
    Views
    1,561

    Re: Regarding { } in XSL

    The braces tell the processor to regard what's inside the braces as an xpath to be evaluated, as opposed to string text.
  8. Replies
    4
    Views
    11,145

    Re: XSLT generator

    Altova does have a set of FREE command line utilities for transforming XML, marketed as AltovaXML, http://www.altova.com/altovaxml.html
  9. Replies
    14
    Views
    1,538

    Re: A question regarding * and  

    You could add the following,
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

    or change the xsl in your statement to whatever prefix you've declared this namespace to.
  10. Replies
    4
    Views
    11,145

    Re: XSLT generator

    Notepad?
    Do you mean a specfic XSLT editor?
    Do you mean a way of mapping xml to other xml's through schemas or otherwise?

    I use Altova XMLSpy 2006 Home Edition as an editor, but this is no...
  11. Replies
    1
    Views
    1,071

    Re: how to use Plus sign at the end of value..

    Could you use a pattern instead?

    <xs:restriction base="xs:string">
    <xs:pattern value="(\d){0-9}(\.\d\d)?[+-]?"/>
    </xs:restriction>
  12. Thread: SQL to XML

    by jkmyoung
    Replies
    2
    Views
    1,007

    Re: SQL to XML

    I would first check how close the format of the Crystal xml export is to the format of the xml needed to be imported into SQL. You should be able to customize the report so that the export xml is in...
  13. Replies
    9
    Views
    1,495

    Re: XML coding

    ?? This thread makes no sense as a stand alone. What exactly is being asked?
  14. creating elements with text description

    What tools are you using? XSLT? C#? .NET? PHP?

    andreasblixt has provided a good way of laying out the data if that's what you were asking for.

    You might also consider putting that type of...
  15. Replies
    1
    Views
    1,136

    Re: Debugging XSL?

    Are you using apply-templates?
    Sounds like the apply-templates are getting to text nodes, and the text is being output.
    It really depends on how you're using xslt, but if you want to suppress all...
  16. Re: How can i edit(extend) existing XML file using XMLlite

    From the way you have it, just use the Read function, and copy the output that you receive.

    Once you receive NULL from the Read function, tack on a element using WriteStartElement, or...
  17. Replies
    3
    Views
    971

    Re: HTML Validation Error

    just add the attribute alt="somecaption" to your img node. eg

    <img src="Retirement.jpg" align="right" width="200"
    height="200" alt="your caption here">
  18. Re: MSXML, CE 5.0, load and loadXML. what version

    Which version of Windows CE? http://www.pocketpcdn.com/articles/xmlfaq.html
    MSXML 2.0 SP 1 first shipped in Windows CE 3.0 Add-On Pack
    MSXML 3 ships for Windows CE 4.X
  19. Thread: XPat Query

    by jkmyoung
    Replies
    2
    Views
    1,023

    Re: XPat Query

    You could also use:
    /PROVIDER_DATA/INSTRUMENT_DATA/INSTRUMENT[@PARSE_TYPE !='XML Parsing']/@TYPE
  20. Re: MSXML, CE 5.0, load and loadXML. what version

    Wouldn't it simply be easier to use a new version of MSXML? You may find performance benefits as well with newer xml parsers.
    Eg. MSXML 4.0 SP 2....
  21. Replies
    1
    Views
    1,927

    Re: See if a xml or xsd document is well formed

    Have you tried running any of the Xerces samples against your input?
    http://xml.apache.org/xerces-c/samples.html

    You should encounter a XMLException when your input is not well-formed. Try...
  22. Replies
    9
    Views
    51,776

    Re: How to create XSLT for my XML doc?

    "Create an XSLT against this schema" IS ambiguous; does it mean:
    1. Run the XSLT against the schema itself to create another schema?
    2. Run the XSLT against the schema to gain information about...
  23. Replies
    2
    Views
    1,029

    Re: about aclidcolumn and idcolumn

    We would need a little more context in order to find out. Eg. what application does this xml come from?
  24. Replies
    2
    Views
    2,891

    Re: Read XML and and element if missing

    Create an element node, and then create a text node for it.
    Then find the <SrvConfig> node, using SelectSingleNode, and use the AppendChild method.

    XMLElement Facility = new...
  25. Replies
    1
    Views
    1,221

    Re: Question on XSLT templates -- urgent

    1. You can shorten the name of the templates to only the name of the node, eg:
    <xsl:template match="PriorityList">
    This should work as long as you don't have any other PriorityList nodes anywhere...
Results 1 to 25 of 107
Page 1 of 5 1 2 3 4





Click Here to Expand Forum to Full Width

Featured