Forum Replies Created

Viewing 2 posts - 1 through 3 (of 3 total)

  • RE: xml datatype and xpath query

    Here's the fixed code:

    SET @tableHTML = N'<table border="1">' +

    N'<tr><th>Key</th><th>TO Type</th><th>Employee</th><th>TO Hour(s)</th>' +

    N'<th>Create Date</th><th>Create By</th><th>Comment</th><th>Earned</th></tr>' +

    CAST(( SELECT SnapshotBefore.query(

    'for $b in

    /DocumentElement/Accrual

    return...

  • RE: xml datatype and xpath query

    Below is snip of my xml. As you can see, nothing fancy and all the other nodes output data as expected.

    <DocumentElement>

    <Accrual>

    <pkID>0</pkID>

    ...

Viewing 2 posts - 1 through 3 (of 3 total)